<?php
	if(!extension_loaded("nmath"))
		print "error@Could'n load Extension";
		
	$strFunct = "";
	$pre = "";
	$vars = "x";
	if(isset($_POST["txtFormula"]) && $_POST["txtFormula"] != ""){
		$strFunct = $_POST["txtFormula"];
		$vars = $_POST["txtVariables"];
		$pre = convert_to_prefix($strFunct,$vars);
		print $pre;
	}
?>
